package ctrip.api.flight.trade.common.commondata.v1;

import ctrip.api.flight.trade.common.basetype.v1.*;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.*;
import javax.xml.datatype.XMLGregorianCalendar;
import java.math.BigDecimal;
import java.util.Date;


@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FdPolicyDataType", propOrder = {
    "flightWay",
    "dcity",
    "acity",
    "airline",
    "cabinClass",
    "subClass",
    "departEffectDate",
    "departExpiryDate",
    "price",
})
public class FdPolicyDataType {

    @XmlElement(name = "FlightWay")
    private FlightWayType flightWay;

    @XmlElement(name = "DCity")
    private String dcity;

    @XmlElement(name = "ACity")
    private String acity;

    @XmlElement(name = "Airline")
    private String airline;

    @XmlElement(name = "Class")
    private String cabinClass;

    @XmlElement(name = "SubClass")
    private String subClass;

    @XmlElement(name = "DepartEffectDate")
    private Date departEffectDate;

    @XmlElement(name = "DepartExpiryDate")
    private Date departExpiryDate;

    @XmlElement(name = "Price")
    private float price;


    public FlightWayType getFlightWay() {
        return flightWay;
    }

    public void setFlightWay(FlightWayType value) {
        this.flightWay = value;
    }



    public Date getDepartEffectDate() {
        return departEffectDate;
    }

    public void setDepartEffectDate(Date departEffectDate) {
        this.departEffectDate = departEffectDate;
    }

    public Date getDepartExpiryDate() {
        return departExpiryDate;
    }

    public void setDepartExpiryDate(Date departExpiryDate) {
        this.departExpiryDate = departExpiryDate;
    }

    public String getDcity() {
        return dcity;
    }

    public void setDcity(String dcity) {
        this.dcity = dcity;
    }

    public String getAcity() {
        return acity;
    }

    public void setAcity(String acity) {
        this.acity = acity;
    }

    public String getCabinClass() {
        return cabinClass;
    }

    public void setCabinClass(String cabinClass) {
        this.cabinClass = cabinClass;
    }

    public String getSubClass() {
        return subClass;
    }

    public void setSubClass(String subClass) {
        this.subClass = subClass;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getAirline() {
        return airline;
    }

    public void setAirline(String airline) {
        this.airline = airline;
    }
}
